pdfFilePath

abstract fun pdfFilePath(pdfFilePath: Path): T

Configures the path to the destination PDF file to print to.

Return

this instance

Parameters

pdfFilePath

the absolute PDF file path

Throws

if the pdfFilePath points to a directory

if the current printing operation has been completed


abstract fun pdfFilePath(): Optional<Path>

Returns an Optional that contains the absolute destination PDF file path, or an empty Optional if there is not path configured.

Throws

if the current printing operation has been completed